package com.coocaa.typhoon.api.v1.userfile.model.output;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * @author bijiahao
 * @date : 2025/9/18 10:00
 * @description
 */
@Schema(description = "进度查询结果")
@Data
public class TaskProgressResultModel {
    @Schema(description = "任务ID")
    private String taskId;
    @Schema(description = "进度")
    private Float progress;
    /**
     * 上传状态
     */
    @Schema(description = "上传状态")
    private String uploadStatus;

    @Schema(description = "TOS地址,tos://your_bucket/your_object")
    private String tosLink;

    public TaskProgressResultModel() {
    }

    public TaskProgressResultModel(Float progress, String uploadStatus) {
        this.progress = progress;
        this.uploadStatus = uploadStatus;
    }
}
